﻿using Architecture.Domian.Common;
using Architecture.Domian.DTO;
using Architecture.Domian.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domain.Services.Interface
{
    public interface ISourceService
    {
        Task<List<GoodsInfo>> GetGoodsInfoAsync();
        Task<int> SourceInsert(SourceInfo source);
        Task<PageResult<SourceInfoDTO>> GetSourceInfoPage(long goodNo, string? batch, int deadline, int size, int index);
        Task<SourceInfoDTO> GetSourceInfoBySourceId(int sourceId);
        Task<int> SourceUpdate(SourceInfo source);
        Task<int> SourceLogicDelete(int sourceId);
        Task<int> SourceBacthLogicDelete(string? sourceIds);
        Task<List<PictureDTO>> GetPicture(string production);
        Task<int> BatchPic(string production, string? imgUrls);
    }
}
